import Layout from '@/views/layout'

/**
 * 权限配置
 */
const permissionRouter = [
  {
    path: '/permission',
    name: 'Permission',
    meta: { title: '权限管理', icon: 'el-icon-lock' },
    component: Layout,
    children: [
      {
        path: 'index',
        name: 'SetPermission',
        meta: { title: '人员权限', icon: 'el-icon-lock' },
        component: () => import('@/views/permission')
      }
    ]
  }
]

export default permissionRouter
